-- card: 43455 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4507 -- name: -- part 2 (field) -- low flags: 01 -- high flags: 2004 -- rect: left=14 top=161 right=296 bottom=132 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 1 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=294 top=284 right=305 bottom=452 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Use selected format ----- HyperTalk script ----- on mouseUp set numberFormat to the selection put 0+654.321000 end mouseUp -- part 4 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=137 top=197 right=281 bottom=487 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 2 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part contents for background part 43 ----- text ----- 335,253 -- part contents for background part 1 ----- text ----- set numberFormat to -- controls the number of decimal places that numbers have. Because it can change the answers that all arithmetic gives, it is reset to the default whenever HyperCard is idle. In the format itself, 0 displays a digit, a period marks the decimal pt, and # to the right of the decimal displays a digit only when it is non-zero. -- part contents for background part 44 ----- text ----- numberFormat -- part contents for background part 2 ----- text ----- Global properties (cont.) -- part contents for card part 2 ----- text ----- The "Use selected format" button puts the number 654.321000 into the Message box using the format you select.Drag across a sample format to select it and then click the button. -- part contents for card part 4 ----- text ----- "0.00" --for money "0.#####" --no trailing zeros "0." --no decimal places "0.0000000000"--many zeros